package rouquest

import (
	"github.com/gin-gonic/gin"
	"zg3wee3/api"
)

func Router(r *gin.Engine) {
	// 简单的路由组: v1
	v1 := r.Group("/user")
	{
		v1.POST("/login", api.Login)
		v1.POST("/like", api.Like)
		v1.POST("/add", api.Add)
		v1.POST("/care", api.Care)
	}
}
